package com.yonyougov.devops.cruxcisupport.app.dto;

import com.yonyougov.devops.fwc.api.dto.BaseRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("增加应用请求")
public class AddAppRequestDto extends BaseRequestDto {
    @NotEmpty
    @ApiModelProperty(required = true, value = "应用名称")
    private String app;
    @ApiModelProperty(value = "备注")
    private String remark;
    private String contextPath;
    private String serialNumber;
    private String healthCheckPath;
    private Boolean exposePort;
    private String domain;
    private String actuatorUrl;

}
